package com.example.entity;

import lombok.Data;
import java.util.Date;

@Data
public class User {
    private Long id;
    private String username;
    private String password;
    private String name;
    private String phone;
    private String email;
    private String role;
    private String avatar;
    private Date createTime;
    
    // 用于修改密码的临时字段，不映射到数据库
    private transient String newPassword;
}
